/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.vo;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.BusinessApprove;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import org.springblade.modules.admin.entity.MaintainPartsWorkSku;
import org.springblade.modules.admin.vo.parts.PartWordUrlVo;

import java.util.List;
import java.util.Map;

/**
 * 审批流程表视图实体类
 *
 * @author zcc
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BusinessApproveVO对象", description = "审批流程表")
public class BusinessApproveVO extends BusinessApprove {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "提交数据（json）")
	private String submitData;

	@ApiModelProperty(value = "扩展数据")
	private Map<String, Object> ext;

	@ApiModelProperty(value = "分配人")
	private List<Long> assignUsers;

	@ApiModelProperty(value = "审批人信息")
	private List<ApproveUserVO> approveUserList;

	@ApiModelProperty(value = "默认非维保员-false,其他-true")
	private boolean isGroupLeader;

	@ApiModelProperty(value = "报障来源")
	private String fromType;

	@ApiModelProperty(value = "配件关联的skuId")
	private Long finallySkuId;

	@ApiModelProperty(value = "配件关联的sku信息")
	private JSONObject finallySkuPartsInfo;

	@ApiModelProperty(value = "配件关联的类目id")
	private Long categoryId;


	@ApiModelProperty("审核图片")
	private List<PartWordUrlVo> imgs;

	private List<MaintainPartsWorkSku> skuList;
}
